/**      
 * @file		boolStrings.cpp
 * @description		This file demostrates the use of arithmetic expressions
 *			and the used of different data types
 * @course		CSCI 123 Section 00000
 * @assignment		Sample 4
 * @date		mm/dd/yyyy
 * @author		Brad Rippe (00000000) brippe@fullcoll.edu
 * @version		1.0
 */
#include <iostream>
#include <string>
using namespace std;

/**
 * @return zero if the application executes successfully
 */
int main() {
	bool	trueOrFalse 	= true;
	string	sent1		= "This is the first";
	string	sent2		= " part of the sentence\n";
	int	int1		= 23;
	int	int2		= 55;
	char	char1		= 'a';
	char	char2		= 'b';

	// concatenating two strings
	cout << sent1 + sent2;

	// bools are also stored as numeric values
	// 1 is true and 0 is false
	cout << "Outputing a bool type " << trueOrFalse << endl;

	cout << "We can output expressions as well as "
		 << "variables and literal values\n";
	cout << "12/4 = " << 12/4 << endl;		// output an int
	cout << "4+12 = " << 4+12 << endl;		// outputs an int
	cout << "18%4 = " << 18%4 << endl;		// puts the remainder 2

	cout << "int1 * int2 = ";
	cout << int1 * int2 << endl;

	// chars are stored as numeric values
	// arithmetic expressions are allowed
	// remember chars store integer values that
	// relate to character codes 
	cout << char1 + char2 << endl;

	return 0;
}
